﻿using Microsoft.Data.SqlClient;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UsedBook.Utils
{
    internal class DBHelper
    {
        public static SqlConnection GetSqlConnection()
        {
            string connectionStr = ConfigurationManager.ConnectionStrings["localString"].ConnectionString;
            return new SqlConnection(connectionStr);
        }
    }
}
